5fdcd75f310ee4cfb9654c5f8117d3b746edaf29,plugins/svn4idea/src/org/jetbrains/idea/svn/integrate/PointMerger.java,PointMerger,add,#Change#,104
Before Change
final File afterPath = SvnUtil.fileFromUrl(myTarget, path, afterUrl);
final SVNRevision revision = ((SvnRevisionNumber)after.getRevisionNumber()).getRevision();
final SVNCopySource[] copySource = new SVNCopySource[]{new SVNCopySource(revision, revision, SVNURL.parseURIEncoded(afterUrl))};
// todo dry run
myCopyClient.doCopy(copySource, afterPath, false, true, true);
}
After Change
final SVNRevision revision = ((SvnRevisionNumber)after.getRevisionNumber()).getRevision();
// todo dry run
CopyMoveClient client = myVcs.getFactory(myTarget).createCopyMoveClient();
client.copy(SvnTarget.fromURL(SVNURL.parseURIEncoded(afterUrl), revision), afterPath, revision, true, myHandler);
}
private static class ChangesComparator implements Comparator<Change> {